'use strict';

function double_to_one(collection) {
  let a=collection.join(",").split(",");
  for(let i=0;i<a.length;i++)
    {
      a[i]=parseInt( a[i]);
    }
  return a;
  
}

module.exports = double_to_one;
